<?php
class LoginGetpassController extends Zone_Action{
	public function initAction(){
		$configs = $this->Model->fetchRow("SELECT * FROM `configs` LIMIT 1");
		
		$user_id   = get_user_id();
		$user = $this->Model->fetchRow("SELECT * FROM `users` WHERE `ID`='$user_id'");	
			
		$this->set(array(
			configs	=> $configs,
			user	=> $user
		));
	}
	
	public function indexAction(){
		$this->removeLayout();
		if( isPost() ){
			return $this->setJSON(array(
				data	=> 'aaaaaa'			
			));		
		}
	}

}	